package com.chapter10.homework_.homework04;

/**
 * @author 宋鑫宇
 * @version 1.0
 */
public class A {
    private String name = "jack";
    public void f1() {
        class B {
            private final String NAME = "mary";

            public void show() {
                System.out.println(NAME + " " + A.this.name);
            }
        }
        new B().show();
    }
}
